package com.cms.admin.service.common;

import com.cms.admin.model.EntityList;
import com.cms.admin.model.EntityListExt;
import com.cms.admin.model.PageBean;

import java.util.List;

/**
 * Created by YYY-Work on 2017/4/28.
 */
public interface EntityService {

    List<EntityList> queryAllEntityList();
    List<EntityList> queryEntityList(PageBean page, EntityListExt example);
    List<EntityList> getEntityListByName(EntityListExt example);
    List<EntityList> getEntityListByEntityID(EntityListExt example);
    int addEntityList(EntityListExt record);
    int getRowCount(EntityListExt example);
    int updateEntityByEntityID(EntityListExt example);
}
